home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17275 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: ix.netcom.com!news
  2. From: bbk@ix.netcom.com (Bill Kirby)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland C++ and CGI
  5. Date: Sun, 14 Apr 1996 23:27:48 GMT
  6. Organization: Netcom
  7. Message-ID: <4ks213$7h3@dfw-ixnews5.ix.netcom.com>
  8. References: <4konfi$hl4@hearst.cac.psu.edu>
  9. NNTP-Posting-Host: sjx-ca54-21.ix.netcom.com
  10. X-NETCOM-Date: Sun Apr 14  6:33:55 PM CDT 1996
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. waj106@email.psu.edu (Coren) wrote:
  14.  
  15. >I know I'm just missing something fairly simple here but....
  16.  
  17. >I have Borland 3.0 C++ compiler for windows.  I have written a program that 
  18. >takes input and creates a HTML page.  The only problem is that I cannot get it 
  19. >to dynamically create a new page.  I know that you are supposed to output 
  20. >something like "Content-type: text/plain\n\n" but this doesn't seem to do any 
  21. >good.  I have tried it with a normal cout but then I saw that someone used 
  22. >it with a function called 'puts' instead of cout.  As it is, if I leave all 
  23. >outputs as couts, when I run it from a browser it says "empty output from CGI 
  24. >program."  Can anyone help me with this?  Thanks.
  25.  
  26. I had similar problems that were fixed by outputting an extra blank
  27. line at the end of the output.  Don't know if it will help in your
  28. case, but it's something simple to try.
  29.  
  30.  
  31. +---------------------+-----------------------------------------------------------------+
  32. | Bill Kirby          | The Windward Group is seeking experienced Windows programmers   |
  33. | The Windward Group  | (C++, MFC, Visual Basic) to join our Los Gatos CA office.  To   |
  34. | bkirby@wwg.com      | learn more about us, visit our web page at www.wwg.com.  E-mail |
  35. | bbk@ix.netcom.com   | resumes to bkirby@wwg.com.  (Prinicipals only please)           |
  36. +---------------------+-----------------------------------------------------------------+
  37.  
  38.